package com.huidu.bitrade.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value="AcMemberStarRecordVo对象", description="创世节点升星奖励")
public class AcMemberStarRecordVo implements Serializable {

    @ApiModelProperty("购买人")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long memberId;

    @ApiModelProperty("购买星级")
    private Integer memberStar;

    @ApiModelProperty("购买金额")
    private BigDecimal money;

    @ApiModelProperty("奖励人")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long toMemberId;

    @ApiModelProperty("奖励人星级")
    private Integer toMemberStar;

    @ApiModelProperty("奖励比例")
    private BigDecimal proportion;

    @ApiModelProperty("奖励金额")
    private String number;

    @ApiModelProperty("发放奖励时间")
    private String createTime;

    @ApiModelProperty("用户手机号")
    private String memberPhone;

    @ApiModelProperty("被邀请人手机号")
    private String toMemberPhone;

    @ApiModelProperty("推荐人层级")
    private String referrerLevelName;
}
